﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using EverBuy.SocialNetworking.Presentation.WebForm.Account.Interfaces;

namespace EverBuy.SocialNetworking.Presentation.WebForm.Account.Presenters
{
    public class LoginPresenter
    {
        private ILogin _view;

        public void Init(ILogin view)
        {
            _view = view;
            //_accountService = ObjectFactory.GetInstance<IAccountService>();
            //_redirector = ObjectFactory.GetInstance<IRedirector>();
        }

        public void RunGetMessage()
        {
            var welcome = "welcome : " + DateTime.Now;
            _view.DisplayMessage(welcome);
        }

        public void RunGetButtonCaption()
        {
            var yourCaption = "button executed on : " + DateTime.Now;
            _view.DisplayCaptionForButton(yourCaption);
        }
    }
}